<?php

namespace app\admin\controller;

use think\Controller;

class Base extends Controller
{
    protected function initialize()
    {
        if (!session('?adminuser')) {
            $this->redirect('admin/index/index');
        }
    }
}
